package com.project.bean;

import java.time.LocalDate;

public class LogBean {
    private int id;
    private LocalDate time = LocalDate.now();
    private String info;

    public LogBean() {
    }

    public LogBean(String info) {
        this.info = info;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public LocalDate getTime() {
        return time;
    }

    public void setTime(LocalDate time) {
        this.time = time;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "LogBean{" +
                "id=" + id +
                ", time=" + time +
                ", info='" + info + '\'' +
                "}\n";
    }
}
